Laplace Transform Solution: Final Steps
Continuing from the previous steps, we express the Laplace transform of the solution as:
\[ Y = e^{-\pi s} \frac{1}{s(s^2+1)} - e^{-2\pi s} \frac{1}{s(s^2+1)} + \frac{1}{s^2+1} \]
Using partial fraction decomposition, where \(\frac{1}{s(s^2+1)} = \frac{1}{s} - \frac{s}{s^2+1}\), we rewrite the expression:
\[ Y = \frac{1}{s^2+1} + e^{-\pi s} \left( \frac{1}{s} - \frac{s}{s^2+1} \right) - e^{-2\pi s} \left( \frac{1}{s} - \frac{s}{s^2+1} \right) \]
Note that the inverse Laplace transform of \(\frac{1}{s} - \frac{s}{s^2+1}\) is \(1 - \cos(t)\).
Applying the second shifting theorem, we find the time-domain solution \(y(t)\):
\[ y(t) = \sin(t) + u_{\pi}(t) [ 1 - \cos(t-\pi) ] - u_{2\pi}(t) [ 1 - \cos(t-2\pi) ] \]
Using trigonometric identities \(\cos(t-\pi) = -\cos(t)\) and \(\cos(t-2\pi) = \cos(t)\), the expression simplifies to:
\[ y = \sin(t) + u_{\pi}(t) ( 1 + \cos t ) - u_{2\pi}(t) ( 1 - \cos t ) \]
This can be written as a piecewise function:
\[ y(t) = \begin{cases} \sin(t) & t < \pi \\ \sin(t) + 1 + \cos(t) & \pi \le t < 2\pi \\ \sin(t) + 1 + \cos(t) - 1 + \cos(t) = \sin(t) + 2\cos(t) & t \ge 2\pi \end{cases} \]